#edit-header {
    .abs-left,.abs-right{
        &:active{
            background-color: $gray;
            color: $themeColor;
        }
    }
    .abs-left {
        left: 0;
        top: 0;
        position: absolute;
    }
    .abs-right {
        right: 0;
        top: 0;
        position: absolute;
    }
    .navbar {
        margin-bottom: 0;
    }
    .navbar-tit {
        line-height: 1;
        text-align: center;
        h3 {
            font-size: 16px;
            color: $deep;
            line-height: 1.5;
            padding-bottom: 3px;
        }
        small {
            color: $default;
        }
    }
}

#edit-content {
    .edit-textarea {
        width: 100%;
        min-height: 100px;
        border: none;
        text-indent: 0;
        padding: 5px 10px;
        color: $fontlight;
    }
    .footer-nav {
        padding: 0 10px;
        background-color: $livebg;
        border-top: 1px solid $gray;
        border-bottom: 1px solid $gray;
        height: 40px;
        overflow: hidden;
        input[type='file'] {
            height: 0;
            visibility: hidden;
            opacity: 0;
        }
        .edit-btn {
            vertical-align: top;
            display: inline-block;
            text-align: center;
            float: left;
            height: 40px;
            padding: 8px 10px;
            font-size: 22px;
            line-height: 1;
            color: $default;
        }
    }
    .upload-row {
        padding: 10px 20px;
        .upload-img-item {
            vertical-align: top;
            width: 32%;
            padding: 0;
            height: 120px;
            text-align: center;
            overflow: hidden;
            position: relative;
            vertical-align: top;
            margin-right: 2%;
            margin-bottom: 2%;
            &:nth-child(3n+3){
                margin-right: 0;
            }
            &:last-child{
                border: 1px dashed $default;
                display: table;
            }
            img {
                max-width: 100%;
            }
            span.add-img {
                line-height: 1;
                display: table-cell;
                vertical-align: middle;
                font-size: 50px;
                color: $gray;
            }
            .upload-img-delete{
                position: absolute;
                right: -4px;
                top: -4px;
                display: inline-block;
                width: 30px;
                height: 30px;
                vertical-align: top;
                text-align: center;
                background-color: transparent;
                color: #ffffff;
                border: none;
                font-size: 20px;
                &:focus{
                    outline: none;
                    border: none;
                }
            }
        }
    }
}

.mark-bg{
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 30% 20% 0% 20%;
    height: 60px;
    padding: 10px;
    background-color: rgba(0,0,0,0.7);
    z-index: 200;
    text-align: center;
    border-radius: 6px;
    .load-info{
        line-height: 40px;
        font-size: 18px;
        color: $gray;
    }
    .loading{
        vertical-align: top;
        display: inline-block;
        width: 40px;
        height: 40px;
        background: url(../img/pull-icon@2x.png) 0 100% no-repeat;
        -webkit-background-size: 40px 80px;
        background-size: 40px 80px;
        -webkit-transition-property: -webkit-transform;
        -webkit-transition-duration: 250ms;
        -webkit-transform:rotate(0deg) translateZ(0);
        -webkit-transition-duration:0ms;

        -webkit-animation-name:loading;
        -webkit-animation-duration:2s;
        -webkit-animation-iteration-count:infinite;
        -webkit-animation-timing-function:linear;
    }
    @-webkit-keyframes loading {
        from { -webkit-transform:rotate(0deg) translateZ(0); }
        to { -webkit-transform:rotate(360deg) translateZ(0); }
    }
}